package jsu.yym.sbexample2025.chapter01.controller;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/chapter01")
public class HelloController {
  @GetMapping("/hello")
  public ResponseEntity<String> getWelcomeMessage() {
    return ResponseEntity.ok("第一个Spring Boot程序!");
  }
}

